#include <stdio.h>
#include <string.h>

void main()
{
    char *data = "xiaozhi{sdf[234";
    char *pstr = NULL;

    pstr = strchr(data, '{');

    if (pstr != NULL) {
        printf("pstr = %s\n", pstr);
    }
    else {
        printf("pstr is blank\n");
    }

    pstr = strchr(data, '[');

    if (pstr != NULL) {
        printf("pstr = %s\n", pstr);
    }
    else {
        printf("pstr is blank\n");
    }
}
